package com.gzl.service;

import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingQueue;

public class QueueList {
	public   BlockingQueue<String> pagelist=new ArrayBlockingQueue<String>(48);
	public   boolean falg;
	public void setPath(String path) throws InterruptedException {
		pagelist.put(path);
	}
	
	public String getPath() throws InterruptedException {
		return pagelist.take();
	}

	public boolean isFalg() {
		return falg;
	}

	public void setFalg(boolean falg) {
		this.falg = falg;
	}

	public BlockingQueue<String> getPagelist() {
		return pagelist;
	}

	public void setPagelist(BlockingQueue<String> pagelist) {
		this.pagelist = pagelist;
	}
	
}
